/*
 * Groupon-J - Java client library for Groupon API v2
 *  Copyright (C) 2011  Jessica M. Chung
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package jessmchung.groupon.datatypes;

/**
 *
 * @author Jessica
 */
public class TextAd implements GrouponType{
    private String headline;
    private String line1;
    private String line2;
    
    public TextAd(){}
    
    @Override
    public String toString(){
        return headline + "//" + line1 + "//" + line2;
    }
    
    public void setHeadline(String headline){
        this.headline = headline;
    }
    
    public String getHeadline(){
        return this.headline;
    }
    
    public void setLine1(String line1){
        this.line1 = line1;
    }
    
    public String getLine1(){
        return this.line1;
    }
    
    public void setLine2(String line2){
        this.line2 = line2;
    }
    
    public String getLine2(){
        return this.line2;
    }

}
